package com.youkeyi.ddy.cloud.common.api.application.business.crm.vaccination;

import com.youkeyi.ddy.cloud.common.api.application.business.crm.vaccination.dto.BusinessVaccinationDetailsListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.vaccination.param.BusinessVaccinationDetailsCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.vaccination.param.BusinessVaccinationDetailsDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.vaccination.param.BusinessVaccinationDetailsListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.vaccination.param.BusinessVaccinationDetailsUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessVaccinationDetailsCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/vaccination/details/fallback")
public class BusinessVaccinationDetailsCloudServiceFallback implements BusinessVaccinationDetailsCloudService {

    @Override
    public BusinessVaccinationDetailsListCloudDto list(BusinessVaccinationDetailsListCloudParam param) {
        return new BusinessVaccinationDetailsListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessVaccinationDetailsCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessVaccinationDetailsUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessVaccinationDetailsDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
